package	hotciv.standard;

import hotciv.framework.Position;
import hotciv.framework.Tile;

/** Standard tile implementation. */

public class StandardTile implements Tile 
{
	protected Position position;
	protected String type;

	public StandardTile(String t, int r, int c) 
	{
		position = new Position(r,c);
		type = t;
	}

	public Position getPosition() 
	{ 
		return position; 
	}
	
	public String getTypeString() 
	{ 
		return type; 
	}
  
	@Override
	public String toString() 
	{
		return "Tile ("+position.getRow()+","+position.getColumn()+") Type: "+type;
	}
}
